package pack0621;

public class DemoA {
    public static void main(String[] args) {

        int [][]  a = new int[3][3] ;
        for(int i = 0 ;i<a.length ;i++){
            for(int j = 0 ;j< 3 ; j++){
                 a[i][j] = i+ j ;
            }
        }

        //打印
        for(int i= 0 ;i<a.length ;i++){
            for(int j = 0 ;j< 3 ;j++){
                System.out.print(a[i][j] + "   ");
            }
            System.out.println();
        }

    }
}
